home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / dos / pascal / scenebl.exe / SCENE.HLP < prev    next >
Encoding:
Text File  |  1993-01-10  |  18.5 KB  |  436 lines

  1.  
  2.  
  3.                                SCENE BUILDER
  4.  
  5.  
  6.           Copyright (C) 1993 by Jerry Rivers, All Rights Reserved
  7.  
  8.  
  9. BASIC OPERATION:
  10.  
  11.    Most functions are selected from the menu using the LEFT mouse button.
  12.    These include drawing tools (e.g., lines), styles (e.g., dashed lines),
  13.    text, disk I/O (e.g., open), display (e.g., zoom), snap grid, etc.
  14.  
  15.    Many functions also have a keyboard "shortcut key".
  16.  
  17.    Drawing colors and object "fill" patterns are selected with the LEFT
  18.    mouse button.  Fill colors are selected with the RIGHT mouse button.
  19.  
  20.    Current draw and fill colors are shown in the menu grid to the left of
  21.    the color squares.  The outside color is "draw"; the inside is "fill".
  22.  
  23.    Fills are turned off and on by pressing the LEFT mouse button inside the
  24.    "fill" square. If fill mode is "on", the drawing tools in the left
  25.    column of the menu will be filled with white; if fill is "off", they
  26.    will be filled with light gray.
  27.  
  28.  
  29. MOUSE CURSORS:
  30.  
  31.    The appearance of the graphics mouse cursor changes according to the
  32.    function being performed (e.g., the line draw cursor is a "+" cross with
  33.    a "/" line underneath, flood fill is a small paint roller). A full
  34.    description is included later in the help file. 
  35.  
  36.  
  37. MENU LAYOUT:
  38.  
  39.    Menu items are selected with the mouse or keyboard from a on-screen
  40.    grid.  The menu can be moved anywhere on the screen if the LEFT mouse
  41.    button is held down while the 4-arrow mouse cursor is in the menu top.
  42.  
  43.    Drawing tools, line styles, display controls, colors, fills, and snap
  44.    grid controls are illustrated on the next two help screens.  Each
  45.    function shows the corresponding keyboard shortcut key, if applicable.
  46.  
  47.  
  48.       SCENE BUILDER MENU GRID (TOOLS, LINE STYLES, FILLS, AND COLOR)
  49.  
  50.  
  51.   ┌─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┐
  52.   │ straight│  add    │  solid  │  Open   │  solid  │         │  Dark   │
  53.   │  Lines  │  Text   │  lines  │  scene  │         │  Black  │  Gray   │
  54.   │         │         │         │         │         │         │         │
  55.   │   "L"   │   "T"   │         │   "O"   │  fill   │         │         │
  56.   ├─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┤
  57.   │  Group  │  cHar   │  dotted │  Save   │         │         │  Light  │
  58.   │  lines  │  fonts  │  lines  │  scene  │  line   │  Blue   │  Blue   │
  59.   │         │         │         │         │         │         │         │
  60.   │   "G"   │   "H"   │         │   "S"   │  fill   │         │         │
  61.   ├─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┤
  62.   │  draw   │  Flood  │  center │  eXit   │  slash  │         │  Light  │
  63.   │ Polygons│  fill   │  lines  │ (stop)  │         │  Green  │  Green  │
  64.   │         │         │         │         │         │         │         │
  65.   │   "P"   │   "F"   │         │   "X"   │  fill   │         │         │
  66.   ├─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┤
  67.   │Rectangle│  normal │  dashed │  Undo   │  back   │         │  Light  │
  68.   │ (square)│  lines  │  lines  │ last chg│  slash  │  Cyan   │  Cyan   │
  69.   │         │         │         │         │         │         │         │
  70.   │   "R"   │         │         │   "U"   │  fill   │         │         │
  71.   ├─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┤
  72.   │  draw   │  wide   │         │  grid   │  light  │         │  Light  │
  73.   │ Circles │  lines  │         │ display │  slash  │   Red   │   Red   │
  74.   │         │         │         │         │         │         │         │
  75.   │  "C"    │         │         │  on/off │  fill   │         │         │
  76.   ├─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┤
  77.   │  draw   │Document │         │ snap-to │  cross  │         │  Light  │
  78.   │ Ellipses│{comment}│         │         │  hatch  │ Magenta │ Magenta │
  79.   │         │         │         │         │         │         │         │
  80.   │   "E"   │   "D"   │         │  on/off │  fill   │         │         │
  81.   ├─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┤
  82.   │  rouNd  │  Blank  │  help   │  snap   │  inter- │         │         │
  83.   │rectangle│  scene  │   (?)   │  X =    │  leave  │  Brown  │ Yellow  │
  84.   │         │         │         │         │         │         │         │
  85.   │   "N"   │   "B"   │  "F1"   │  Y =    │  fill   │         │         │
  86.   ├─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┤
  87.   │  draw   │  Zoom   │         │draw Col │  close  │  Light  │         │
  88.   │  Arcs   │ In/Out  │         │         │   dot   │  Gray   │  White  │
  89.   │         │         │         │ [fill   │         │         │         │
  90.   │   "A"   │   "Z"   │         │  col ]  │  fill   │         │         │
  91.   └─────────┴─────────┴─────────┴─────────┴─────────┴─────────┴─────────┘
  92.  
  93.  
  94.                      SCENE BUILDER GENERAL INFORMATION
  95.  
  96.  
  97.    Each drawing tool works similarly. After selecting a tool, the menu will
  98.    disappear and a tool-specific mouse cursor will appear.
  99.  
  100.    Move the cursor to the spot you want to begin drawing the object.  To
  101.    begin drawing, press the LEFT mouse button. Dragging the mouse draws
  102.    using "rubber band" lines.
  103.  
  104.    If "snap" is on, the cursor will automatically move to the nearest grid
  105.    boundary, whether the snap grid is displayed or not.
  106.  
  107.  
  108.    Release mouse button to stop drawing.  Continue to draw until you press
  109.    the RIGHT mouse button, which signals you want to quit using that tool.
  110.  
  111.    During the drawing process, you may want to move an object from the
  112.    origin picked with the LEFT mouse button.  Press the "Alt" key (while
  113.    still holding the LEFT mouse button down) to move the entire object to a
  114.    new location.  A "hand" mouse cursor will appear to show "move" mode.
  115.  
  116.  
  117.    Immediately after releasing the LEFT mouse button, you can construct any
  118.    number of duplicate objects by holding the "Ctrl" key down and moving
  119.    the mouse. Like Alt, a "hand" cursor will show "move or duplicate" mode.
  120.  
  121.  
  122.    Fully enclosed objects such as rectangles, polygons, and circles can be
  123.    "filled" with a solid color or with a colored pattern. SceneBuilder
  124.    supports seven standard Pascal fill patterns.  Enclosed objects can be
  125.    filled at the time of creation (if "fill" mode is "on", shown by the
  126.    drawing tools filled with white) or can later using the flood-fill tool.
  127.  
  128.  
  129.    The SHIFT key can be used to force lines to be horizontal, vertical or
  130.    45 degrees.  Rectangles can be forced into squares using the SHIFT key.
  131.  
  132.  
  133.    You can turn on a "snap" grid of any specified size to help line-up your
  134.    drawing objects.  The snap grid may be displayed as a series of dots. 
  135.    When a scene is zoomed in, the snap grid is automatically set to the
  136.    zoom scale factor.
  137.  
  138.  
  139.                       DETAILED MENU ITEM DESCRIPTIONS
  140.  
  141.  
  142. UNDO LAST OPERATION:                                     Shortcut Key = "U"
  143.  
  144.    If you make a mistake or don't like how the last object(s) look, select
  145.    Undo from the menu grid.  Your scene will be returned to the same
  146.    appearance as before.
  147.  
  148.    You can NOT "undo" an "undo".
  149.  
  150.  
  151. STRAIGHT LINES:                                          Shortcut Key = "L"
  152.  
  153.    Mouse cursor: Large "+" with a "/" line
  154.  
  155.    Pick the starting point of the line with the LEFT mouse button. Drag the
  156.    end-point until the line is where you want it.  SHIFT constrains lines
  157.    to horizontal, vertical, or 45-degrees.  The Alt key may be used to move
  158.    a partially completed line.
  159.  
  160.    The Ctrl key may be used to duplicate identical lines.
  161.  
  162.    Press the RIGHT mouse button again when you are finished.
  163.  
  164.  
  165. GROUPED LINES (END-TO-END):                              Shortcut Key = "G"
  166.  
  167.    Mouse cursor: Large "+" with a "/" line
  168.  
  169.    Pick the starting point of a line group with the LEFT mouse button. Drag
  170.    the end-point until the line is where you want it.  SHIFT constrains
  171.    lines to horizontal, vertical, or 45-degrees.  The Alt key may be used
  172.    to move a partially completed line segment.
  173.  
  174.    Continue to drag line segments until the RIGHT mouse button is pressed.
  175.  
  176.    The Ctrl key can NOT be used to duplicate group lines.
  177.  
  178.    Press the RIGHT mouse button again when you are finished.
  179.  
  180.  
  181. MULTI-SIDED FIGURES (POLYGONS):                          ShortCut Key = "P"
  182.  
  183.    Mouse cursor: Large "+" with a small polygon
  184.  
  185.    Pick the starting point of the polygon with the LEFT mouse button.  Drag
  186.    the end-point until it is where you want it.  SHIFT constrains line
  187.    segments to horizontal, vertical, or 45-degrees.  The Alt key may be
  188.    used to move a partially completed polygon.  Continue to drag and
  189.    release the LEFT mouse button until your polygon is complete.  The RIGHT
  190.    mouse button "closes" the polygon by making the last point the same as
  191.    the first point (if you want "open" "polygons", use Group Lines).
  192.  
  193.    Polygons may be duplicated using the Ctrl key.
  194.  
  195.    Press the RIGHT mouse button again when you are finished.
  196.  
  197.  
  198. RECTANGLES AND SQUARES:                                  Shortcut Key = "R"
  199.  
  200.    Mouse cursor: Large "+" with a small rectangle
  201.  
  202.    Pick the starting point of the rectangle with the LEFT mouse button. 
  203.    Drag the rectangle down and to the right until it is the size you want. 
  204.    Press and hold the SHIFT key to constrain the rectangle to a square. 
  205.    The Alt key may be used to move the partially completed rectangle.
  206.  
  207.    Rectangles or squares may be duplicated using the Ctrl key.
  208.  
  209.    Press the RIGHT mouse button again when you are finished.
  210.  
  211.  
  212. ROUND CORNER RECTANGLES AND SQUARES:                     Shortcut Key = "N"
  213.  
  214.    Mouse cursor: Large "+" with a small rectangle.
  215.  
  216.    This is the same as the Rectangle function, except that the corners are
  217.    rounded.  You can control the size of the corner radii by pressing "1"
  218.    (small), "2" (medium", or "3" (large) before beginning drawing.  Like
  219.    Rectangles, the SHIFT key creates perfect squares.
  220.  
  221.    Rectangles or squares may be duplicated using the Ctrl key.
  222.  
  223.    Press the RIGHT mouse button again when you are finished.
  224.  
  225.  
  226. CIRCLES:                                                 Shortcut Key = "C"
  227.  
  228.    Mouse cursor: Large "+" with a small circle
  229.  
  230.    Pick circle center with the LEFT mouse button. Drag the radius to form a
  231.    circle.  The Alt key may be used to move the partially completed circle.
  232.  
  233.    Circles may be duplicated using the Ctrl key.
  234.  
  235.    Press the RIGHT mouse button again when you are finished.
  236.  
  237.  
  238. ELLIPSES:                                                Shortcut Key = "E"
  239.  
  240.    Mouse cursor: Large "+" with a small circle
  241.  
  242.    Pick the center point of the ellipse with the LEFT mouse button. Drag
  243.    the radius to form a ellipse.  The Alt key may be used to move the
  244.    partially completed ellipse.
  245.  
  246.    Ellipses may be duplicated using the Ctrl key.
  247.  
  248.    Press the RIGHT mouse button again when you are finished.
  249.  
  250.  
  251. CIRCULAR ARCS:                                           Shortcut Key = "A"
  252.  
  253.    Mouse cursor: Large "+" with a small arc
  254.  
  255.    Arcs are draw by creating a straight line "chord" in a similar manner to
  256.    normal straight lines. Then, the "curve" is "pulled" by dragging the
  257.    mouse with the LEFT button down until the radius is what you want.  The
  258.    Alt key may be used to move the partially completed arc.
  259.  
  260.    Arcs may be duplicated using the Ctrl key.
  261.  
  262.    Press the RIGHT mouse button again when you are finished.
  263.  
  264.  
  265.  
  266. DOCUMENTATION (COMMENTS):                                Shortcut Key = "D"
  267.  
  268.    This tool is used to insert documentation or comments into your scene. 
  269.    The comments do not show up on screen but are written to the Pascal
  270.    source file with {  } comment delimiters.
  271.  
  272.    Documentation is useful for describing key parts of your scene so you
  273.    can understand it later when looking a many lines of Pascal source.
  274.  
  275.  
  276. GRAPHICS TEXT:                                           Shortcut Key = "T"
  277.  
  278.    Mouse cursor: I-beam
  279.  
  280.    Text is drawn using current character font and size (see below).  Text
  281.    can NOT be entered while zoomed-in.
  282.  
  283.    Move the cursor to where you want text to start; press the LEFT mouse
  284.    button.  Type text just like a normal Pascal ReadLn.  Back-space and
  285.    snap-to-grid are supported.  RETURN ends the line of text.
  286.  
  287.    The upper left corner of "System" text begins near the point where the
  288.    LEFT mouse button was pressed.  The other fonts ("stroke" fonts) are
  289.    different.  Line spacing is added by Pascal above your text.  To
  290.    position text precisely, turn Snap "off" and experiment on placement.
  291.  
  292.  
  293. CHARACTER FONTS (STYLES) AND SIZES:                      Shortcut Key = "H"
  294.  
  295.    A dialog box will pop-up showing fonts and sizes.  Five Pascal fonts are
  296.    supported: System, Little, Sans Serif, Triplex, and Gothic.  Sizes
  297.    available are 8-, 16-, 32-, and 64-pixels.
  298.  
  299.    Select font and size "radio buttons" with the LEFT mouse button.  Then,
  300.    select "OK" or "Cancel" with the LEFT mouse button to finish.
  301.  
  302.  
  303. LINE WIDTHS AND STYLES:
  304.  
  305.    Normal width:  Single-width graphics lines
  306.    Wide width:    Triple-width graphics lines
  307.    Solid lines:   _________ line appearance
  308.    Dotted lines:  ......... line appearance
  309.    Center lines:  -.-.-.-.- line appearance
  310.    Dashed lines:  - - - - - line appearance
  311.  
  312.  
  313. FLOOD FILL AN AREA:                                      Shortcut Key = "F"
  314.  
  315.    Mouse cursor: Paint roller
  316.  
  317.    You can fill any enclosed area with a solid or pattern fill.  Select
  318.    fill color with the RIGHT mouse key and the drawing color with the LEFT
  319.    mouse button, on the main menu.
  320.  
  321.    Flood filling works by adding color until a boundary of "drawing color"
  322.    is found.  Thus, both fill and draw color MUST be set correctly or you
  323.    will have fill color all over your scene! (just select "Undo" to fix). 
  324.    If you try to flood fill an object which is not fully enclosed, you will
  325.    have a similar color "leak".
  326.  
  327.    Be careful of filling objects with non-solid line boundaries!
  328.  
  329.    You can NOT flood fill with the snap grid dots displayed.
  330.  
  331.    Press the RIGHT mouse button to finish.
  332.  
  333.  
  334. ZOOM IN OR OUT:                                          Shortcut Key = "Z"
  335.  
  336.    Specify a zoom "window" using the mouse.  Zoom scale factor is the ratio
  337.    of the zoom window to VGA full-screen. Select the upper left corner of
  338.    your zoom rectangle with the LEFT mouse button; drag the window down and
  339.    to the right as desired.  Release the mouse button when finished.  Your
  340.    scene is re-displayed in the zoomed-up view.
  341.  
  342.    All tools are available when zoomed in except text entry.  When Saving
  343.    or Opening a scene, the current view is zoomed back out to normal size.
  344.  
  345.    Because of the way Turbo Pascal implements flood fills and enclosed
  346.    object fills (e.g., circles), the fill color and pattern may not appear
  347.    when zoomed in. This is not a defect in SceneBuilder. If your scene
  348.    looks OK in normal view, it will "save" OK.
  349.  
  350.    "System" text can't be properly zoomed if the beginning of the text
  351.    string is not in the zoom window.  The other (stroke) fonts all zoom OK.
  352.  
  353.    Re-picking the zoom menu item when zoomed in returns the view to normal.
  354.  
  355.  
  356. OPEN SCENE:                                              Shortcut Key = "O"
  357.  
  358.    A dialog box will appear asking you to type the name of the scene you
  359.    wish to Open.  Scenes can be in any directory if you use the full
  360.    pathname.  Scene file names end in "LST".  Pascal program names end in
  361.    "PAS".  If you don't type the extension, it will be added automatically. 
  362.    There is no "directory" function at this time.
  363.  
  364.    Scene data is added on top of whatever you now have on-screen.  Drawing
  365.    color, fill, line styles, etc. are set to the last found in an Open'ed
  366.    file.  If you want a fresh scene, select "Blank (New) Scene" from the
  367.    menu grid.
  368.  
  369.    You can NOT open a new scene when zoomed-in; you must zoom-out first.
  370.  
  371.  
  372. SAVE SCENE:                                              Shortcut Key = "S"
  373.  
  374.    A dialog box will appear asking you to type the name of the scene you
  375.    want your scene Saved to.  Scenes can be saved to any directory if you
  376.    use the full pathname.  Scene file names end in "LST".  Pascal program
  377.    names end in "PAS".  If you don't type the extension, it will be added
  378.    automatically.  There is no "directory" function at this time.
  379.  
  380.    A runnable Pascal source program is written at the same time. The file
  381.    name is the same as for the LST file, but its extension is "PAS".
  382.  
  383.    Current drawing parameters such as color, line style, etc. are saved
  384.    along with your scenes.  If you Open and Save the same scene repeatedly,
  385.    the scene and Pascal file sizes will increase because the same drawing
  386.    information is put into the files redundantly.
  387.  
  388.    You can NOT save a scene when zoomed-in; you must zoom-out first.
  389.  
  390.  
  391. BLANK (NEW) SCENE:                                       Shortcut Key = "B"
  392.  
  393.    This function is used to begin a fresh, new scene.  If you have an
  394.    existing scene, and have not yet saved it, a dialog box will pop-up
  395.    allowing you to save before blanking, blank anyway, or cancel.
  396.  
  397.  
  398. TURN SNAP-TO-GRID ON/OFF:
  399.  
  400.    Snap-to-grid is used to precisely position scene objects.  The snap menu
  401.    item "toggles" between "on" (shown in red) and "off" (shown in black).
  402.  
  403.    You can NOT turn snap-to-grid off when zoomed in.  This is to avoid
  404.    problems with the position of any scene objects added while zoomed in
  405.    appearing to have changed position.
  406.  
  407.  
  408. SET X & Y SNAP VALUES:
  409.  
  410.    You can select the X and Y snap-to-values with this function.  A dialog
  411.    box will appear showing the currently defined snap coordinates. Press
  412.    RETURN to keep the current value, or type in new values.
  413.  
  414.    Zooming-in will automatically select the X and Y snap values.
  415.  
  416.  
  417. TURN SNAP GRID DISPLAY ON/OFF:
  418.  
  419.    If you have turned the snap-to-grid feature on, this function will
  420.    display a series of dots spaced at the X and Y snap dimension.  Snap
  421.    grid display "toggles" between "on" (shown in red) and "off" (shown in
  422.    black).
  423.  
  424.    The snap grid is always drawn first, so that the grid dots will show up. 
  425.    Since this can cause problems when flood filling objects, SceneBuilder
  426.    can NOT flood fill with the grid displayed.  You must turn the snap
  427.    display "off" before trying to fill object.
  428.  
  429.  
  430. EXIT (QUIT):                                             Shortcut Key = "X"
  431.  
  432.    Select this menu grid item to leave SceneBuilder.  If you have not saved
  433.    your scene, a dialog box will pop-up warning you that your scene has not
  434.    been saved.  You can then save the scene, quit anyway without saving, or
  435.    cancel the exit.
  436.